<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <META HTTP-EQUIV="pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
    <META HTTP-EQUIV="expires" CONTENT="0">
    <title></title>
    <script type="text/javascript" src="../../js/commonCss.js"></script>
    <link rel="stylesheet" type="text/css" href="../../styles/common.css" />
</head>
<body>
    <form class="form-inline definewidth m20 " role="form">
        <div class="form-group w200 mb10">
            <div class="input-group">
                <div class="input-group-addon">开始时间</div>
                <input type="text" class="form-control" value="" id="startDate">
            </div>
        </div>
        <div class="form-group w200 mb10">
            <div class="input-group">
                <div class="input-group-addon">结束时间</div>
                <input type="text" class="form-control" value="" id="endDate">
            </div>
        </div>
        <div class="form-group w200 mb10">
            <div class="input-group">
                <div class="input-group-addon">项目编号</div>
                <input type="text" name="project_code" class="form-control" id="project_code" placeholder="">
            </div>
        </div>
        <div class="form-group w200 mb10">
            <div class="input-group">
                <div class="input-group-addon">项目名称</div>
                <input type="text" name="project_name" class="form-control" id="project_name" placeholder="">
            </div>
        </div>
        <div class="form-group w200 mb10">
            <div class="input-group">
                <div class="input-group-addon">项目经理</div>
                <input type="text" name="project_manager_name" class="form-control" id="project_manager_name" placeholder="">
            </div>
        </div>
        <div class="form-group w200 mb10">
            <div class="input-group">
                <div class="input-group-addon">销售负责人</div>
                <input type="text" name="saler_name" class="form-control" id="saler_name" placeholder="">
            </div>
        </div>
        <div class="form-group w200 mb10">
            <div class="input-group">
                <div class="input-group-addon">项目状态</div>
                <select name="project_status" class="form-control" id="project_status" >
                </select>
            </div>
        </div>
        <div class="form-group">
            <button type="button" class="btn btn-primary" id="search">查询</button>
            <button class="page-action btn btn-success hideButton" id="addnew" href="#" role="button" data-href="ProjectInfo/edit.html?act=add&parentPageId=ProjectInfo/list.html" title="新增项目" data-id="ProjectInfo/add">新增</button>
            <!--<a class="page-action btn btn-success hideButton" id="addnew" href="#" role="button" data-href="ProjectInfo/edit.html?act=add" title="新增" data-id="ProjectInfo/add">新增</a>-->

            <button type="button" class="btn btn-danger hideButton" id="delect">删除</button>
        </div>
    </form>
    <div class="definewidth">
        <table id="table" class="table table-bordered table-hover  m10"></table>
    </div>

<script src="../../js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="../../libs/bootstrap-3.3.0/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../../libs/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="../../libs/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="../../libs/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script type="text/javascript" src="../../libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.js"></script>
<script type="text/javascript" src="../../js/common.js"></script>
<script type="text/javascript" src="../../js/formatTime.js"></script>
<script type="text/javascript" src="../../scripts/ProjectInfo/list.js"></script>
<script type="text/javascript" src="../../assets/js/bui.js"></script>
<script type="text/javascript" src="../../assets/js/config-min.js"></script>
<script type="text/javascript">
    BUI.use('common/page');
</script>
<script type="text/javascript">
    document.onkeydown=function(event){
        var e = event || window.event || arguments.callee.caller.arguments[0];
        if(e && e.keyCode==13){ // enter 键
            document.getElementById('search').click();
            return false;
        }
    };
    $(function () {
        $('#startDate').datepicker({
            language: 'zh-CN',
            format: 'yyyy-mm-dd',
            autoclose:true
        });
        $('#endDate').datepicker({
            language: 'zh-CN',
            format: 'yyyy-mm-dd',
            autoclose:true
        });
        getParamsByparamTypeValue('projectStatus', "#project_status");
    });
</script>
</body>
</html>